// this example gets compiled only if we add some_condition configuration:
// rustc --cfg some_condition 13_03_01Custom.rs

// if we remove the some_condition configuration like this:
// rustc .\13_03_01Custom.rs
// there will be a compilation error:
// cannot find function `conditional_function` in this scope

#[cfg(some_condition)]
fn conditional_function() {
    println!("condition met!");
}

// if we want to pass the compilation without a condition configuration
// uncomment the following code
// #[cfg(not(some_condition))]
// fn conditional_function() {
//     println!("condition not met!");
// }


fn main() {
    conditional_function();
}